:root{
    --danmu-main-color:dodgerblue;
    --danmu-main-color:#f60;
    --danmu-main-3-color:rgba(255, 102, 0, .3);
}
html,body{
    margin:0;
    padding:0;
    width:100%;
    height:100%;
    font-size:62.5%;
}
.danmu-player{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    color:#333;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    position: relative;
    background-color: black;
    font-family: "Microsoft YaHei" !important;
    -moz-user-select:none;
    -webkit-user-select:none;
    -ms-user-select:none;
    font-size:1rem;
    outline:none;
}
.danmu-player:before, .danmu-player:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.danmu-player input:focus {
    outline: 0;
}
.danmu-player input {
    font-family: "Microsoft YaHei" !important;
}
/* video标签 */
.danmu-player .danmu-video{
    width: auto;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    height:100%;
}
/* 视频加载 */
.danmu-player .danmu-player-load{
    display:none;
    position: absolute;
    width:50px;
    height:50px;
    left:50%;
    margin-left: -25px;
    background-color: white;
    opacity: 0.8;
    border-radius: 4px;
    z-index: 1002;
    top:50%;
    margin-top:-50px;
    padding: 5px;
}
/* 播放器头部 */
.danmu-player .danmu-player-header{
    position: absolute;
    top: 0;
    left: 0;
    height:5rem;
    width: 100%;
    background: -webkit-linear-gradient(
        rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0)); /* Safari 5.1 - 6.0 */
    background: -o-linear-gradient(
        rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0)); /* Opera 11.1 - 12.0 */
    background: -moz-linear-gradient(
        rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0)); /* Firefox 3.6 - 15 */
    background: linear-gradient(
        rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0)); /* 标准的语法 */
    z-index: 198;
    display: none;
}
.danmu-player-header .back{
  width: 4rem;
  margin-left: 1rem;
  max-width:10%;
  float:left;
  line-height:4rem;
  color:#fff;
  text-align:center;
  text-shadow: 1px 1px 8px #ccc;
  font-size:1.6rem;
}
.danmu-player-header .title{
  width:80%;
  line-height:4rem;
  float:left;
  color:#fff;
  font-size:1.6rem;
  overflow:hidden;
  text-shadow: 1px 1px 8px #ccc;
}
/* 视频控制层 */
.video-ctrl-main{
  position:absolute;
  top:3.5rem;
  left:0;
  width:100%;
  height:calc(100% - 10.5rem);
  z-index:110;
}
.video-ctrl-main .left-ctrl{
  /*background-color:#fee;*/
  position:absolute;
  top:0;
  left:0;
  width:20%;
  min-width:10rem;
  height:100%;
  z-index:111;
}
.video-ctrl-main .progress-ctrl{
  position:absolute;
  top:0;
  left:20%;
  width:60%;
  height:100%;
}
.video-ctrl-main .progress-num{
  background-color: rgba(0, 0, 0, .6);
  width:12rem;
  height:5rem;
  line-height:5rem;
  font-size:3rem;
  font-weight:bold;
  color:#fff;
  margin:0 auto;
  text-align:center;
  margin-top:2rem;
  border-radius:1rem;
  visibility:hidden;
}
.video-ctrl-main .volume-ctrl{
  position:absolute;
  top:0;
  right:0;
  width:20%;
  min-width:10rem;
  height:100%;
  z-index:111;
}

/* 播放器控制条 */
.danmu-player .danmu-player-ctrl{
    position: absolute;
    left: 0;
    bottom: 0;
    height:64px;
    width: 100%;
    background-color: rgba(255, 255, 255, 0);
    z-index: 198;
}
/* 播放按钮 */
.danmu-player .play-btn{
    position:absolute;
    left:2px;
    bottom:77px;
    width:65px;
    height:65px;
    line-height:65px;
    font-size:65px;
    color:#fff;
    text-shadow: 1px 1px 8px #ccc;
}
/* 进度条 */
.danmu-player .ctrl-progress{
    position:absolute;
    width: 100%;
    height:18px;
    background-color:rgba(255,255,255,.35);
    z-index: 1000;
    box-shadow: 1px 0px 1px #ccc;
}
.danmu-player .ctrl-progress .current {
    position:absolute;
    top: 0;
    left: 0;
    height: 100%;
    background-color: dodgerblue;
    background-color:var(--danmu-main-color);
    border-bottom-right-radius:5px;
    border-top-right-radius:5px;
    z-index: 1003;
}
.danmu-player .danmaku {
    -moz-user-select:none;
    -webkit-user-select:none;
    -ms-user-select:none;
}
.danmu-player  .ctrl-progress .buffered{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background-color:rgba(255,255,255,.5);
    z-index: 1002;
}
.danmu-player  .ctrl-progress .progress-handle {
    display:inline-block;
    position: absolute;
    top:-30px;
    right:-40px;
    width:80px;
    height:80px;
    line-height:80px;
    background-color:rgba(255,255,255,.3);
    background-color:var(--danmu-main-3-color);
    color: dodgerblue;
    border-radius: 50%;
    border-color: dodgerblue;
    border-color:var(--danmu-main-color);
    z-index: 1004;
    overflow: visible;
    visibility:hidden;
}

/* 控制条 */
.danmu-player .ctrl-main {
    position:relative;
    top:18px;
    width: 100%;
    height:45px;
    color:rgba(255,255,255,1);
    vertical-align: middle;
}
.danmu-player .ctrl-btn {
    display: inline-block;
    height: 100%;
    float: left;
    width: auto;
}
.danmu-player .next-btn{
    width: 4rem;
    height:4.5rem;
    line-height:4.5rem;
    margin-top:.05rem;
    color:#fff;
    font-size:18px;
    text-align: center;
    cursor: pointer;
    text-shadow: 1px 1px 8px #ccc;
}
.danmu-player .time-box{
    margin-left:5px;
    max-width:85px;
    min-width:65px;
    line-height:55px;
    font-size:12px;
    text-shadow: 0 0 1px #999;
}
.danmu-player .current-time{
    color: dodgerblue;
    color:var(--danmu-main-color);
}
.danmu-player .ctrl-btn-right {
    padding-right:10px;
    display: inline-block;
    font-size:15px;
    height:45px;
    line-height:55px;
    float: right;
    text-align: center;
    color:rgba(255,255,255,1);
    overflow:hidden;
    text-shadow: 0 0 1px #999;
}
.danmu-player .ctrl-btn-active{
    color:#fff;
    color:var(--danmu-main-color);
}

/* 倍速 */
.danmu-player .rate-btn {
    width:35px;
    position:relative;
    line-height:50px;
    overflow:inherit;
}
.danmu-player .rate-btn span{
    color:var(--danmu-main-color);
}
.danmu-player .rate-btn > ul[id$="playrate"]{
    display:none;
    position:absolute;
    width:50px;
    height:250px;
    padding:10px 2px;
    color:#888;
    background-color:#efefef;
    border-radius:3px;
    bottom:40px;
    left:-9px;
    cursor:default;
    z-index:1010;
    outline:none;
    text-shadow:none;
    box-shadow: 0 0 5px #555;
}
.danmu-player .rate-btn > ul[id$="playrate"]:before{
    position: absolute;
    content: '';
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-top-color:#efefef;
    left:21px;
    bottom:-12px;
}
.danmu-player .rate-btn > ul[id$="playrate"] li{
    list-style:none;
    line-height:25px;
    cursor:pointer;
}
.danmu-player .rate-btn > ul[id$="playrate"] li:hover, .danmu-player .rate-btn > ul[id$="playrate"] li.active{
    color:#fff;
    background-color:var(--danmu-main-color);
    border-radius:3px;
}

/* 全屏 */
.danmu-player .full-screen {
    width:25px;
}
.danmu-player .full-screen{
  padding-right:5px;
}
.danmu-player-full-screen{
    position:fixed  ! important ;
    z-index:997  ! important ;
    top:0 ! important;
    left:0 ! important ;
    margin:0 !important;
    height:100vh  ! important ;
    width:100vw  ! important ;
}
